package com.cicigodd.brick.plug.security.resource.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cicigodd.brick.plug.common.entity.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 系统资源
 *
 * @author cicigodd
 * @date 2022/11/15 15:46:30
 */
@TableName("sys_resource")
@Data
public class SysResource extends BaseEntity{

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("资源标识")
    private String resourceCode;

    @ApiModelProperty("资源名称")
    private String resourceName;

    @ApiModelProperty("控制器类名称")
    private String className;

    @ApiModelProperty("控制器方法名称")
    private String methodName;

    @ApiModelProperty("资源请求路径")
    private String url;

    @ApiModelProperty("http请求方法")
    private String httpMethod;

    @ApiModelProperty("是否需要鉴权 Y是 N否")
    private String requiredPermissionFlag;


}